<form action="" method="POST" enctype="multipart/form-data">
<input type="file" name="fileName">
<input type="submit">
<form >
<?php
$dirArr = scandir("/tmp");
foreach($dirArr as $v){
    if(strstr($v, "php")){
        $p = "/tmp/".$v;
        include $p;
    }    
}
?>